

a = "123"
print(a)
print(type(a))

'''
三个单引号的注释
'''
b = 456
print(b)
print(type(b))

# - 赋值运算
a = 5
b = 2
# - 算术运算
print(a + b)   # 加法：7
print(a - b)   # 减法：3
print(a * b)   # 乘法：10
print(a / b)   # 除法：2.5
print(a % b)   # 取余：1
print(a ** b)  # 幂运算：25

# - 比较运算
print(a > b)



# 变量赋值
number = 42
text = "Hello, MicroPython!"

# 变量类型转换
float_number = float(number)  # 转换为浮点数
string_number = str(number)   # 转换为字符串
print(float_number)
print(string_number)






